home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2002 #11
/
Amiga Plus CD - 2002 - No. 11.iso
/
Tools
/
ShareMailGiftware
/
Frogger
/
plugins_src
/
p_ac3
/
makefile.68k
< prev
next >
Wrap
Makefile
|
2002-10-28
|
1KB
|
41 lines
CC=gcc
CCOPTS = -O9 -m68060 -m68881 -fforce-addr -ffast-math -fbranch-count-reg \
-fpretend-float -fmove-all-movables -fexpensive-optimizations -I. -I..
ALL: a52.xp.68k
OBJS= ../pinit_68k.o o/decode.o6 ../pinit.o68k
o/decode.o6: decode.c ../pinit.h
gcc -c $(CCOPTS) -Wall decode.c -o o/decode.o6
LIBOBJS= o/bitstream.o o/imdct.o o/bit_allocate.o o/parse.o o/downmix.o o/ac3.o
a52.xp.68k: $(OBJS) libac368k.a
gcc -s -o $@ -nostartfiles -nostdlib -noixemul $(OBJS) -L. -lac368k
strip $@ --strip-all
libac368k.a: $(LIBOBJS)
ar cru $@ $(LIBOBJS)
# ranlib $@
o/bitstream.o: bitstream.c config.h a52.h a52_internal.h bitstream.h
$(CC) -c bitstream.c -o o/bitstream.o $(CCOPTS)
o/imdct.o: imdct.c config.h a52.h a52_internal.h
$(CC) -c imdct.c -o o/imdct.o $(CCOPTS)
o/ac3.o: ac3.c ac3.h
$(CC) -c ac3.c -o o/ac3.o $(CCOPTS)
o/bit_allocate.o: bit_allocate.c config.h a52.h a52_internal.h
$(CC) -c bit_allocate.c -o o/bit_allocate.o $(CCOPTS)
o/parse.o: parse.c config.h a52.h a52_internal.h bitstream.h tables.h
$(CC) -c parse.c -o o/parse.o $(CCOPTS)
o/downmix.o: downmix.c config.h a52.h a52_internal.h
$(CC) -c downmix.c -o o/downmix.o $(CCOPTS)